import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store/store'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
import './style/index.less'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import  {postRequest ,getRequest} from './axios/index.js'
// import  {timestampToTime} from './axios/data.js'

Vue.prototype.$post = postRequest
Vue.prototype.$get = getRequest
// Vue.prototype.$formatDate = timestampToTime
Vue.prototype.$token = 'c7014d11-8990-4260-89ec-7110ae3d6a03'
Vue.prototype.$Url = 'http://192.168.0.226/project/hfbb/public'
Vue.prototype.$IUrl = 'http://www.hfbb.com/api/common/upload_image'
Vue.use(iView)
Vue.use(ElementUI);

// Vue.prototype.$axios = axios;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
